package com.peppa.petshop.service;

import com.peppa.petshop.entity.Category;
import com.baomidou.mybatisplus.extension.service.IService;
import com.peppa.petshop.vo.DataVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 张三
 * @since 2021-06-02
 */
public interface CategoryService extends IService<Category> {
    public DataVO<Category> categoryList(Integer page,Integer limit);
    public void deleteById(Integer id);

    void addCategory(String category);

    void editCategory(Integer id, String category);
}
